//
// Copyright © 2021 dev. All rights reserved.
// 

import Foundation
import ConfCore



typealias DateProvider = () -> Date

let today:DateProvider = {
    if let fakeDate = Arguments.deloreanDate {
        let formatter = DateFormatter()
        formatter.dateFormat = confCoreDateFormat
        return formatter.date(from: fakeDate)!
    }else {
        return Date()
    }
}
